package com.soujiayi.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Product implements Serializable {

	private static final long serialVersionUID = 1L;
	private String goodsid;
	private String name;
	private String cover;
	private String saleprice;
	private String price;
	private String retailprice;
	private int saleprice_isup;
	private int reviews;
	private float reviewscore;
	private String description;
	private String mallid;
	private String mallname;
	private List<String> mallsupport;
	private String brandid;
	private String brandname;
	private String catid;
	private String catname;
	private String mall_detailurl;
	private String mall_buyurl;
	private String detailurl;
	private String buyurl;
	private ArrayList<ProductSelectItem> attr;
	private ProductCompare compare;

	public String getGoodsid() {
		return goodsid;
	}

	public void setGoodsid(String goodsid) {
		this.goodsid = goodsid;
	}

	public List<String> getMallsupport() {
		return mallsupport;
	}

	public void setMallsupport(List<String> mallsupport) {
		this.mallsupport = mallsupport;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCover() {
		return cover;
	}

	public void setCover(String cover) {
		this.cover = cover;
	}

	public String getSaleprice() {
		return saleprice;
	}

	public void setSaleprice(String saleprice) {
		this.saleprice = saleprice;
	}

	public int getSaleprice_isup() {
		return saleprice_isup;
	}

	public void setSaleprice_isup(int saleprice_isup) {
		this.saleprice_isup = saleprice_isup;
	}

	public String getMallid() {
		return mallid;
	}

	public void setMallid(String mallid) {
		this.mallid = mallid;
	}

	public String getMallname() {
		return mallname;
	}

	public void setMallname(String mallname) {
		this.mallname = mallname;
	}

	public String getBrandid() {
		return brandid;
	}

	public void setBrandid(String brandid) {
		this.brandid = brandid;
	}

	public String getBrandname() {
		return brandname;
	}

	public void setBrandname(String brandname) {
		this.brandname = brandname;
	}

	public String getCatid() {
		return catid;
	}

	public void setCatid(String catid) {
		this.catid = catid;
	}

	public String getCatname() {
		return catname;
	}

	public void setCatname(String catname) {
		this.catname = catname;
	}
	
	public String getMall_detailurl() {
		return mall_detailurl;
	}

	public void setMall_detailurl(String mall_detailurl) {
		this.mall_detailurl = mall_detailurl;
	}

	public String getMall_buyurl() {
		return mall_buyurl;
	}

	public void setMall_buyurl(String mall_buyurl) {
		this.mall_buyurl = mall_buyurl;
	}

	public String getDetailurl() {
		return detailurl;
	}

	public void setDetailurl(String detailurl) {
		this.detailurl = detailurl;
	}

	public String getBuyurl() {
		return buyurl;
	}

	public void setBuyurl(String buyurl) {
		this.buyurl = buyurl;
	}

	public ProductCompare getCompare() {
		return compare;
	}

	public void setCompare(ProductCompare compare) {
		this.compare = compare;
	}
	
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}

	public String getRetailprice() {
		return retailprice;
	}

	public void setRetailprice(String retailprice) {
		this.retailprice = retailprice;
	}

	public int getReviews() {
		return reviews;
	}

	public void setReviews(int reviews) {
		this.reviews = reviews;
	}

	public float getReviewscore() {
		return reviewscore;
	}

	public void setReviewscore(float reviewscore) {
		this.reviewscore = reviewscore;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public ArrayList<ProductSelectItem> getAttr() {
		return attr;
	}

	public void setAttr(ArrayList<ProductSelectItem> attr) {
		this.attr = attr;
	}

	@Override
	public String toString() {
		return "Product [goodsid=" + goodsid + ", name=" + name + ", cover="
				+ cover + ", saleprice=" + saleprice + ", price=" + price
				+ ", retailprice=" + retailprice + ", saleprice_isup="
				+ saleprice_isup + ", reviews=" + reviews + ", reviewscore="
				+ reviewscore + ", description=" + description + ", mallid="
				+ mallid + ", mallname=" + mallname + ", mallsupport="
				+ mallsupport + ", brandid=" + brandid + ", brandname="
				+ brandname + ", catid=" + catid + ", catname=" + catname
				+ ", mall_detailurl=" + mall_detailurl + ", mall_buyurl="
				+ mall_buyurl + ", detailurl=" + detailurl + ", buyurl="
				+ buyurl + ", attr=" + attr + ", compare=" + compare + "]";
	}

}
